package wiki.douzi.helpyougrow.domain;

import java.io.Serializable;

/**
 * (GoodsOrder)实体类
 *
 * @author Douzi
 * @since 2022-06-18 16:39:19
 */
public class GoodsOrder implements Serializable {
    private static final long serialVersionUID = 488466973966903699L;
    /**
     * 商品订单id
     */
    private Integer id;
    /**
     * 购物车记录id
     */
    private Integer tCartId;
    /**
     * 该商品总体现金价格
     */
    private Integer cashPrice;

    @Override
    public String toString() {
        return "GoodsOrder{" +
                "id=" + id +
                ", tCartId=" + tCartId +
                ", cashPrice=" + cashPrice +
                ", pointsPrice=" + pointsPrice +
                ", treatTime='" + treatTime + '\'' +
                '}';
    }

    public GoodsOrder(Integer id, Integer tCartId, Integer cashPrice, Integer pointsPrice, String treatTime) {
        this.id = id;
        this.tCartId = tCartId;
        this.cashPrice = cashPrice;
        this.pointsPrice = pointsPrice;
        this.treatTime = treatTime;
    }

    /**
     * 该商品总体积分价格
     */
    private Integer pointsPrice;
    /**
     * 交易时间
     */
    private String treatTime;

    public GoodsOrder() {

    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTCartId() {
        return tCartId;
    }

    public void setTCartId(Integer tCartId) {
        this.tCartId = tCartId;
    }

    public Integer getCashPrice() {
        return cashPrice;
    }

    public void setCashPrice(Integer cashPrice) {
        this.cashPrice = cashPrice;
    }

    public Integer getPointsPrice() {
        return pointsPrice;
    }

    public void setPointsPrice(Integer pointsPrice) {
        this.pointsPrice = pointsPrice;
    }

    public String getTreatTime() {
        return treatTime;
    }

    public void setTreatTime(String treatTime) {
        this.treatTime = treatTime;
    }

}


